package com.xnx3.wangmarket.plugin.innerDown.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import com.xnx3.j2ee.entity.BaseEntity;

/**
 * 用户-部门对应表，用户属于哪个部门
 */
@Entity
@Table(name = "plugin_innerdown_user_branch")
public class UserBranch extends BaseEntity {
	
	private Integer userid;		//对应用户id，user.id
	private Integer branchid;	//部门编号，对应部门id
	
	@Id
	public Integer getUserid() {
		return this.userid;
	}

	public Integer getBranchid() {
		return branchid;
	}

	public void setBranchid(Integer branchid) {
		this.branchid = branchid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	
}